package com.jims.master.modules.doctor.netHosptial.dao;


import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.modules.doctor.netHosptial.entity.NetLiveRequisition;

import java.util.List;

/**
 * 入院通知DAO接口
 * @author xuey
 * @version 2017-05-15
 */
@MyBatisDao
public interface NetLiveRequisitionDao extends CrudDao<NetLiveRequisition> {

    public NetLiveRequisition findByClinicId(NetLiveRequisition netLiveRequisition);

    /**
     * 获得患者未传送的信息
     * @return
     */
    public List<NetLiveRequisition> getInfoToSend(NetLiveRequisition liveRequisition);
    //改变发送标志
    public Integer send(NetLiveRequisition liveRequisition);
}